import { BaseApi } from "@/api/base";
import http from "@/api/http";

class RoleApi extends BaseApi {
  constructor(url) {
    super(url);
  }
  listAll = (params: any): Promise<any> => {
    return http.get(this.url + "/listAll", params);
  };
}
export default new RoleApi("/system/post");
